<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>screenfull插件</title>
    <style>
        #target {
            background: skyblue;
        }
    </style>
</head>
<body>
<button id="toggle">切换全屏</button>
<div id="target">这是要全屏的内容</div>
</body>
<script src="./dist/bundle.js"></script>
</html>